package edu.sdwu.liqing.qasystem.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import edu.sdwu.liqing.qasystem.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户表 
 * </p>
 *
 * @author liqing@sdwu.edu
 * @since 2020-03-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="QaUser对象", description="用户表 ")
public class QaUser extends BaseEntity {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "真实姓名")
    private String realName;

    @ApiModelProperty(value = "手机号")
    private String phoneNum;

    @ApiModelProperty(value = "角色ID")
    private String roleId;

    @ApiModelProperty(value = "服务人员工号")
    private String identity;

    @TableField(exist = false)
    private String roleName;


}
